package com.javatest.chapter2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 *
 * @author liuziyang
 * @create 2020-03-29 14:26
 */
public class Sample1 {
        public static void main(String[] args) {
                final long start = System.currentTimeMillis();
                //1.执行任务a
                WorkExecutor.doSomethingA();
                //2.执行任务b
                WorkExecutor.doSomethingB();

                System.out.println("[totoal time in ms]:" + (System.currentTimeMillis() - start));
        }
}
